package top.ytazwc.store.coupon;

import lombok.extern.slf4j.Slf4j;

/**
 * @author 花木凋零成兰
 * @title CouponService
 * @date 2024/4/27 23:57
 * @package top.ytazwc.store.coupon
 * @description 模拟优惠卷服务
 */
@Slf4j
public class CouponService {
    // 发放优惠卷
    public CouponResult sendCoupon(String uId, String couponNumber, String uuid) {
        log.info("模拟发放优惠卷一张: {}, {}, {}", uId, couponNumber, uuid);
        return new CouponResult("0000", "发放成功");
    }
}
